package com.social;

import com.mzt.logapi.starter.annotation.EnableLogRecord;
//import com.social.utils.netty.NettyServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.social.dao")
@EnableScheduling
@EnableLogRecord(tenant = "com.social.controller")
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
//        try {
//            new com.social.utils.netty.NettyServer().start();
//        }catch(Exception e) {
//            System.out.println("NettyServerError:"+e.getMessage());
//        }
    }

}
